package com.person.service;

import com.person.mapper.ShoppingCartMapper;
import com.person.pojo.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    ShoppingCart inquire(Long dishId, Long setmealId);

    void add(ShoppingCart shoppingCart);

    void updateNumber(Long id);

    void sub(Long dishId, Long setmealId, Long currentId);

    void delete(Long dishId, Long setmealId);

    List<ShoppingCart> getlist(Long currentId);

    void clean(Long userId);
}
